package com.blockmeta.bbs.minemodule.net;


import com.blockmeta.bbs.businesslibrary.net.pojo.BaseCodeResponse;
import com.blockmeta.bbs.businesslibrary.net.request.ForwardApiRequest;
import com.blockmeta.bbs.minemodule.pojo.StatusPOJO;
import com.blockmeta.bbs.minemodule.pojo.UserDevicePOJO;

import io.reactivex.Flowable;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by author on 2019/6/11.
 */

public interface ApiServer {

    //获取登录设备信息
    @POST("forward")
    Flowable<BaseCodeResponse<UserDevicePOJO>> achieveUserDeviceInfo(@Body ForwardApiRequest forwardApiRequest);

    //授权登录
    @POST("forward")
    Flowable<BaseCodeResponse<StatusPOJO>> agree3Login(@Body ForwardApiRequest forwardApiRequest);


}
